package org.metasketch.demo.model;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import org.metasketch.model.CommonDoubleIdentified;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("organizational-function")
public class OrganizationalFunction extends CommonDoubleIdentified {

	// String id;
	// String name;
	// @XStreamAsAttribute
	@XStreamAlias("contained-actor-roles")
	Set<ActorRole> containedActorRoles = new HashSet<ActorRole>();

	@XStreamAlias("inherited-organizational-functions")
	Set<OrganizationalFunction> inheritedOrganizationalFunctions = new HashSet<OrganizationalFunction>();

	// public String getId() {
	// return id;
	// }
	//
	// public void setId(String id) {
	// this.id = id;
	// }
	//
	// public String getName() {
	// return name;
	// }
	//
	// public void setName(String name) {
	// this.name = name;
	// }

	public Set<ActorRole> getContainedActorRoles() {
		return containedActorRoles;
	}

	public void setContainedActorRoles(Set<ActorRole> containedActorRoles) {
		this.containedActorRoles = containedActorRoles;
	}

	public Set<OrganizationalFunction> getInheritedOrganizationalFunctions() {
		return inheritedOrganizationalFunctions;
	}

	public void setInheritedOrganizationalFunctions(
			Set<OrganizationalFunction> inheritedOrganizationalFunctions) {
		this.inheritedOrganizationalFunctions = inheritedOrganizationalFunctions;
	}

}
